import java.util.Arrays;

public class TestMain {
    public static void main(String[] args) {
        int[] arr1 = {1,1,2};
        int[] arr2 = {2,5,6};
        Solution solution = new Solution();
        //solution.merge(arr1,3,arr2,3);
        solution.removeDuplicates(arr1);
        for (int i: arr1) {
            System.out.print(i + " ");
        }
    }
}
